A direct calibration of the IRX-β relation in Lyman-break Galaxies at z = 3-5