Cleaning up build script and udpating PB version to 2.5.0.