Fix undefined symbol error on Solaris11
Merge pull request #30 from trystanscott/patch-1

Fix undefined symbol error on Solaris11