Add support for older kernel versions