Ensured that incompatible code won't be compiled for Windows Phone platform