Fix build when BUILD_PANGOLIN_VIDEO disabled.