Then check in have_udf if that variable is set. Finally use tahe variable when loading the shared library.