Fixed compile errors in server.h and server.c