patch applied (cabal): Add backwards compat version of findProgramOnPath