Move code finding native libraries to util.py.

Now we use util.find_library() to find both system libraries and our
libxtwrapper.so.