Fix compiling dedicated server