simple c shell for libgphoto on mac