Improved MariaDB detection for DB Version()