fix vagrind under libtool