Fix cabal option detection