Exclude SQLite from static build, fixes ROOT-5568.