Fixed install for nokogiri on fedora 18.
Merge pull request #1525 from jrgifford/fixing-centos-fedora-dependencies

Fixed install for nokogiri on fedora 18 and CentOS