Remove dl() usage

dl() was being used in a way that is neither SAPI or platform
indepdendant. Basically, it almost never works reliably so it's
better form to just not use it all.

Change-Id: Ica189caea73319a371c1f0b3ebb5fa6abaa8173f