Removes cross-platform limitation.

I was checking exclusively for .so files, now I don't so this probably works
cross platform now. Fixes issue #9.
Made test into a class for proper teardown.
def -> class
Merge pull request #16 from PythonDynamics/cross-platform

Cross platform