[cmake] fix project name
[cmake] check PKG_CONFIG_FOUND before using PkgConfig package functions