Total fix compile on Win