change lib type to module to build libsqlite3.so on MAC