Fix subersion build with db6.0