fix C compiler warnings about missing PyModuleDef field initialisers in Py3.[01]
merge 0.18.x branch into master