adjust generate scripts for python 3+
disable warning 4251
regenerate (underscore as postfix for ambiguous defines)