make mysql and elgg optional