fix test failure on Solaris (#10)