Fix test on Linux