fix building sample when vs is not installed