Made a few code changes to allow MP code to compile under 64-bit Linux.