Correctly track libtool dependencies