Add libm package - binary import from OpenSolaris repo
Add closed header patch to illumos-gate component (illumos #3853)