script: add $CABAL_FLAGS option to cabal configure invocation