Add support for Windows 8 and Windows Phone 8.1