added option ENABLE_CXX11 for generally enabling c++11/c++0x