upgrade build environment and libraries