Fix compile error for linux >= 3.0.0

Needed this change to compile successfully. Tested with kernel version 3.12-1-amd64.