Updated the Rakefile to make sure it still works on osx