fix Solaris compile error

* see [issue](https://github.com/smanders/log/issues/1)