minor updates to the build script. resolved #4