fixing more python 3 portage  (cmp function)