replace tr1::bind by deprecated std::mem_fun for build with gcc 3