The -DSQLITE_OMIT_DISKIO option has not been maintained and no longer appears to be working. However, you can probably fix it up and get it to work again. If you don't want to do that yourself and you have budget, you can perhaps engage the SQLite developers to do necessary fixes for you.