Fix compilation crash instroduced in gh-1673 on 32 bit python.

This was reported by David Cournapeau

This wasn't in a released version.