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.