wscan: Fix build on older kernels