use monotonic clock if possible on Ruby 2.1+