Fixing compile error on 32 bit systems