Fixed up build script