Convert argv[0] to lowercase before checking for '.exe'