minor changes to build script