fix cabal sandbox support