removed extra libraries and modified CMakeLists.txt
corrected little mistake -now everything compiling-