Fix server compile error