[12421] Fix No-PCH compile

Special Thanks to NeatElves for reporting and testing

(based on commit [12311] - 06dd3c4)