Updated build script to include major, minor, revision and build number.