Remove explicit '.so' for non-windows

This should let things work on OS X as well.