x86 and compiler fixes.