Fixing up libtool macros, should be generated with libtoolize