fix specs for rubygems < 2.0