Fix tests on linux.