fixed compilation error under linuxd