use libtool to get autotools to build it successfully

unfortunately running the testsuite fails with the autotools-built
module (the `check-local` Makefile target), while it succeeds when
built with waf (the `test_with_node_waf` Makefile target)