Only build statically on Windows.