without odbc

I need to be able to build without odbc, here are some checks for that.