Added cmake and pkg-config as build dependency for pkgr

Successor of #7670