Fix RUBY_ENGINE on ruby 1.8

RUBY_ENGINE is not defined on ruby 1.8, so we cannot use it
Need DateTime#to_time on ALL 1.8 environments.