Adaptions for csharpsqlite to work on Mono