check-libs: follow symbolic links