cmake: enable building without gphoto again