Remove cmake warnings due to messages.

Warning observed with cmake 2.8.12.1