Fix error on Numpy 1.5