rename function setXXBitCorFlags, as it does not set the flags to 32 bit, but removes 32 bit flags and hence creates 64 bit flags.