fixed : compile warning with cmake.