port bdiff project to 64-bit host