Allow multiple versions of DB functions to be built