Adds support for windows compilation.