Removed compliler warnings and ignored build directory
Updated CakeLists to support current version of OpenCV