Include fix from https://github.com/linq2db/linq2db/commit/e746382333abc1a97bdb10728b257c24ee70982f
Fixes from linq2db

https://github.com/linq2db/linq2db/issues/83 and https://github.com/linq2db/linq2db/issues/78