See this post about compiling sqlite: <https://jvns.ca/blog/2019/10/28/sqlite-is-really-easy-to-compile/>