fix cross-compilation issue with Numpy