Fixed build system so application can be correctly debbuged now
OpenCV libraries are now linked as a static libraries
Minor c++11 <-> gnu bugs fixed