FIX for numpy < 1.7