fix cross-compilation issue with Numpy

This fix was given to me by @tsed