some fixes for dagmc on py2k