Make the build & test work on Mac

On Macs, the ```sys.platform``` call results in a value of ```'darwin'```. This was getting caught in the Windows clause looking for ```'win'```.

Also, on a Mac, the file is ```'libssl.dylib'``` rather than ```'libssl.so'```.