fix compile problem under linux