Fix build for non cabal modules