Fix vsgen to set the correct target platform.