[buildobjs] deal with py3k's dict method changes [applied]