Simplified the build scripts.