-O2 optimization flag added

GCC -O2 optimization flag added to the project file