Fix compilation issue bringed by #8319

Signed-off-by: Alexandr Morozov <lk4d4@docker.com>
Merge pull request #8846 from LK4D4/fix_compilation

Fix compilation issue bringed by #8319