Fix Python extension naming on Windows.

The extensions should not be versioned (-avoid-version), and for native Windows
Python, modules should have a '.pyd' extension.
Merge pull request #1417 from jtanx/py-ext

Fix Python extension naming on Windows.