updated gemspec for 4.0 compatibility