Adjust script to skip native libraries.

junixsocket is packaged in a jar now.