An universal way checking executable existence

Make auto-installation on Windows possible.