Update platform build script for new environment.