compile fix for kernels < 3.0.0