Correct small errors in cmake theme

Do not use nested groups for "Linking" messages.
Allow "-" in file names for "Building" messages.