fixed Cmakelists for incorrect compiler flags, fixed world of errors it produced