cleanup cabal deps and add linux flags for testsuite runner