BUG: map builtins min/max to numpy/cython versions