[checkmk-commits] Do the dlopen() check in two steps, this fixes the compilation database.