Add back support for kernels older than 3.10