Fix bug #2 win exe extension was not added before path check