Fix the desktop entry header check.