[#50154295] Fix windows compile errors