Add workaround for tests on Linux.