Fix tests on Linux