Minor updates to build script.