Depending on the selected database backend, add includes and libraries