Fixed ldd wrapper for files with relative path