prevent loading libmariadb if not needed