Fix autogen.sh on Mac OS X.