Moved dlsym import under