Fixes to Haskell's time package.