Sqlite android hack

This hack is more then ugly so comments if this should be added or not are welcome!
btw updating sqlite3 to latest version doesn't help too