Fix build on 64 bit systems

Fixes #2