patch applied (cabal): Use the new Program utils to simplify code in Configure