Instead of check for version here and there, the main code always uses
the latest API, and in a preprocessor ``if`` statement I implemented
the compatibility layer.
Like this it will be easier to apply patches from the kernel to our
Signed-off-by: Federico Vaga <firstname.lastname@example.org>