Thanks, Sarah. That worked. Out of curiosity, should that step be necessary from now on? I know autoreconf updates generated configuration files but I'm not entirely sure exactly what it's doing here.
It should always be considered necessary when building directly from the Bitbucket repo. I don't always run autoreconf before committing as it means booting up a Linux VM.