fixed compilation on gphoto2-2.4.14