Removed code that was supposed to fix the pre-compiled headers issue, but caused issues for sim builds.
Merge pull request #6039 from cb1kenobi/timob-17651

Removed code that was supposed to fix the pre-compiled headers issue, bu...