[CS] Code style fixes on the libraries/cms folder

Some codestyle fixes on the libraries/cms folder