fix compiling for 5.4

Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>