tweak tr1 changes for GCC on Linux