put check for libtool back to configure.ac (was removed by Jonas)