Make flagutil test succeed deterministically.
Merge pull request #39 from msolo/fix_flagutil

Make flagutil test succeed deterministically.
Cosmetic code fix in flagutil.