Fix the tests for Ubuntu 10.04.