Fix https://www.illumos.org/issues/3880
Merge pull request #78 from pyhalov/complex_h

Fix https://www.illumos.org/issues/3880