Fix some windows stuff