Fix for old Numpy 1.6.3