simplify pandoc static version determination