Merge pull request #1622 from goshhhy/aix

fix building ninja_test on AIX 6.1