[Project] Only default to MSBuild engine if referenced projects use it

MSBuild fails to handle project references if those projects cannot be
built with MSBuild.