ENH: restrict fast_dot to  np < 1.8