fix cg debug build for 64-bit host