Windows: Fix compile issues after build system changed to cmake.
Differential Revision: https://phabricator.kde.org/D8079