attempt to fix C++11 support