Added some compilation if's for Windows Apps