There is no hardcoded path in measurement widget.
If you didn't see the icons, please try to set it in the CSS and let me know if it works.
.distanceIcon {
background-image:url(./Measure_Distance16.png); //your image url
}
But this shouldn't cause the error that you described.