Fixed up build scripts.