Use libtool to build dynamic library