CXX-11 fix scoped_db_conn_test

Work in progress, windows support not finished.