Support Ruby 1.8

Time.now() does work different in Ruby 1.8