BUG: fixed platform int issues on 32-bit
Merge pull request #3620 from jreback/tests_fail_fix

BUG: fixed platform int issues on 32-bit