fix compile on linux