This fixes #12852 where perl builds that use Build.PL will fail when the shebang of the Build script produced from the configure step is too long.