Fix unit test failure on Linux.