patch_f2py — modify numpy.f2py at runtime