don't run patchelf on symlinks (closes #1744)