Fixed momemnts_cam_demo.cpp so that it will compile on Pi.