Adapted build script to match local system.