Fixed server requiring a missing header
Fixed compatibility with LLVM
Fixed CMakeFile to work on MacOSX