Revert "Fixed the WINDOWS_PHONE check"

This reverts commit 8eacb78a6bfa36f1bb965a5b724f1a9f9d1e1a2e.
Fixed WINDOWS_PHONE commit