Make CV_XADD independent on STL and system headers