fix test_dlfcn_self