Build connect.c under Windows

Use pyd as library format for connect.c under Windows.
This allows building under Windows and Linux using `python setup.py build`.