Building openvas-scanner from source: libopenvas_misc.so.22.4.1~dev1: undefined reference to `is_host_alive'

It using a different installation prefix the PKG_CONFIG_PATH is probably not set correctly (which is something not specific to the Greenbone software stack but AFAICT common for all cmake based projects):