gcc needs these forward declarations to get the ADL right, see
http://lists.boost.org/Archives/boost/2008/05/138134.php