core: win32: fix compilation for Winstore