Error: `'Py_hash_t'` does not name a type

I need your help. I can’t build tensorflow from source, gcc compiler is giving me the following error:

'error: 'npy_hash_t' does not name a type; did you mean 'npy_half'?'

And I don’t understand why… Am I missing something?