Make autogen.sh work on OS X if it has glibtoolize instead of libtoolize