Fix compile as libcaf submodule