Fix for windows phone 8 code bleeding out to non wp8 platforms