fix second install pass (in non-c++11 mode)