only link readline under linux
no need to define LINUX when compile sqlite
no need to define sqlite os
multi flags fix
try to use sqlite thread safe=2