Thanks for fully investigating this and fixing it! Much appreciated.
References to tr1 don't work with C++11