Added code to increment the build number when building the dist target.