when compiling on solaris, c99 features are needed.
Merge pull request #500 from DBarney/master

when compiling on solaris, c99 features are needed