Updated to bind all references immediately in dlopen

Updated to use "--" to end options when calling PKI