Fix platform difference in test.