With recent Numpy versions (> 2.0.0), the header files are located in _core/include instead of core/include, and the configure script does not detect them. Use the `numpy.get_include()` function for the detection in that script.