Fix gemspec file for forward compatibility.