kernel module compile fixes for kernels >= 3.10