Anosov flows and the fundamental group