Build matrix only on env