BUG: fix windows pointer size problem

Fix windows test failure.