Fix for no graphics builds