Ran into similar issues when using compiler intrinsics, which clashes with some optimization flags. You might also want to disable the creation of precompiled header files via:
// Do not use PCH or Unity builds,
PCHUsage = ModuleRules.PCHUsageMode.NoPCHs;
// Nor Optimization, since intrinsics clash with those options :/
OptimizeCode = CodeOptimization.Never;
That did the trick for me.