Workaround for GHC bug #5797 (https://ghc.haskell.org/trac/ghc/ticket/5797) for Windows platform.