Make library pass cabal check