Fix autogen.sh for Mac OSX w/ homebrew