Fix warning and v1mc on linux