support alternative dlopen syntax