Fix haskell-ide-api compilation