Fixing tests with eglibc >= 2.17