osxbundle: fix detection of user libraries

Previous code would detect for example `libcaca.0.dylib` as a system library,
because it matched the `libc` condition.