CB-7378 Adds windows platform support.

Fix for https://issues.apache.org/jira/browse/CB-7378

Adds support for windows platform and, especially, for WP8