remove dependency on libvideogfx