Recovering the Effective Cosmological Constant in Extended Gravity Theories