Added Ruby 1.9 compability (require fixed)