add support to compile with Cabal