Reverse order of CMAKE_CXX_FLAGS initialization
The old order caused cmake in Mac OSX to not detect c++11. This fixes the problem.
This change should be done to the plugins too
The old order caused cmake in Mac OSX to not detect c++11. This fixes the problem.
This change should be done to the plugins too