Fixing support for glibtool on OSX.