Fixed library version errors that required ruby 1.8.7