support building without dlopen support