Server makefiles updated for compilation with multithread