Fix jacoco setup
(cherry picked from commit caaadf25a09655d10cb258c1694b0cdee2f85504)