Fix clean repo build tests