Fix build for AIM 64bit.