BUG: fix windows pointer size problem

Fix windows test failure.
This is going to break on a 32-bit box.