Fix mass-link for python3 compatibility.