Fixed server compiler errors