DEV: Fix compilation errors with kernel 3.11
DEV: Fix compilation error with debug.