build matrix to speed up the build