Add optional .exe extension and ignorecase to command checks.