Fixed some compiletime errors and warnings. Also changed the way OpenCV is built by catkin/cmake. Still doesn't appear to run, no executables found.