Evaluating the three-loop static quark potential