Fixed main2 program to compile

Changed main2 to compile in C++.  Main2 is a mavlink interface
written in C++.  It currently only connects to the MAV and it
triggers the camera off of the GPIO pins using wiriingPi.

Still needs to be implemented:

 -Adding decoding of mavlink messages

 -EXIF data control and image tagging