Compatibility fix for 32 bit arch