[FOLD] Fix Windows compiler errors