fix autoconf on Mac OSX