Fix compile error for kernel < 3.10
Tested on Ubuntu 12.04.2 LTS x86 kernel 3.2.0-44-generic-pae