Fix LIBTOOL configuration for OSX

OS X libtool doesn't accept the same options as gnu libtool,  LIBTOOL must be set to glibtool for the build to work.