Update gphoto.cc

Overcome build-error on ubuntu