Fixed bug on detecting VS installation.