Also look for shared objects without a version

While this will add all -dev packages to the checks we need this in
order to also pick up dlopen'd objects.