Connection Independence of Chern-Weil Classes