[ci] Pull in Foundation before configuring and building.