update makefiles from c++11 to c++0x
Merge branch 'develop'
[Opencv2.4.2 or Opencv2.4.9]

The current project is developed under OpenCV 2.4.9. It is about to be
tested on OpenCV2.4.2 on Sharcnet.