add numpy header dir
use int32 explicitly to avoid different integer type in nparray and c