Add support for Windows to vcap-common.