Fix bad placement of PyType_Ready call

PyType_Ready should be called for any PY_MAJOR_VERSION and MSVC didn't like the module var declaration not being at the top of the block.