ok pvalchev@ msf@
ensure db/v3 is used also fixes build on NO_SHARED_ARCHS with conceptual help from brad@