bug fix in mf.hpp, frequent dlopen/dlclose commit