Updated to allow external symbols to be resolved if dlopen() is available