[Build] Have autogen.sh apply the patch

Grabbing this from a PR from NguyenMatthieu. Thanks!