Fix nokogiri version for 1.8.7 versions

@andrewkatz