ms_schema: fix python2.6 incompatibility