Fix compilation for Linux 3.7+

...nux 3.7 onwards.