Fixes to gemspec and rake