ignoring linux-gate.so.1 when checking for shared libraries