Change C library search to look for .dll on win32, .so on other platforms (as identified by sys.platform). This will hopefully be better than the old approach that just looked for .so, then .dll, causing confusion on windows platforms that for some reason also had .so version of the C library.