resolve issues with C++11 compile+link