Fixing the unresolved reference for the oracle plugin build (#4985)