BUG: fix windows pointer size problem

Fix windows test failure.
The correct type to use here is `np.intp`. However, I'm really surprised that that's not what `np.where` produces. What's the output of

```
print(np.where([0])[0])
print(np.intp)
```

on Windows?