compat: fix compilation on latest kernels