cmake: libintl check
remove some warnings