fix for dlopen error message (from Neeraj Rai) #189 & #195