Merge pull request #840 from pyhalov/libm

We want to use illumos-gate-provided libm.
Add OpenJPEG 2.1.0