fix haskell-mode warnings in windows