Fix for issue 403 (exe extension should be checked case-insensitively)