Backport to 186

This pull request add compatibility with ruby 1.8.6 by requiring backports and adding Time#nsec.