update numpy_ext for py3k