Small modifications to build scripts.