Revert "Use local paths to run autogen.sh"

This reverts commit ee9ac707b80d54c366d2af069a3d102d74de8953.