move sqlite flags to persistent-test
fix sqlite build