update build environment flags