fix some declarations in numpy.pxd
merge branch 0.19.x