Updated to work with 3.7 and 64 bit ruby
Merge pull request #25 from cyberious/64xDirectoryUsage

Updated to work with 3.7 and 64 bit ruby