Fix compatibility with Linux 3.17