Fixing issue with generating version number in the rakefile