fixed WinPhone/Win8 defines