support cross build for ia64 platform.