haskell-unix-time: fix test suite in shared library build

https://github.com/kazu-yamamoto/unix-time/issues/20