Updated to not try to use dlopen() on PE platforms