Improved checks for mac osx version.
Better tags for pypy.
Windows code now uses standard PATH from environment to allow correct
loading order of DLL.