cmake and pkg-config should be added to **hostmakedepends** instead.