Update CMakeLists.txt

Simply fixed some typo's and fixed spacing and commenting as well as to be more consistent.