fixed key extraction problems with non-copyable classes reported at http://lists.boost.org/Archives/boost/2006/04/103065.php