Fix for tests on linux