patchShebangs instead of patchfile + /usr/bin/env

This hopefully fixes the build on Hydra.