Fixed compatibility issues for 64-bit AIX