fix compile on Linux