Add dependency on ltdl for tests