changed dlopen flags from RTLD_LAZY to RTLD_NOW | RTLD_LOCAL