enable c++11 for linux and natvie client projects