Force to int64 to compile on 32-bit archs

fixes #427