put back a numpy 1.7.1 check