Add dependency on cfg generation
Update for build on trusty, new version of libgphoto