Fix compilation on 32-bits platforms