Make gen_my_std.h.py compatible with python 2.5 too.