Patch the build system to use libtool properly