Added support for building statically on Windows