script to check if the build environment is ready