Builr fix after removing WaitForData.
Build fix of server. renamed main.config -> main.conf
Buildfix of server. Added libboost_thread due to using boost::shared_mutex.
Commented code with wating data.