unique_id: fix some obscure namespacing issue in gcc 4.4
dispatch: gcc 4.4 doesn't have operator bool() for std::exception_ptr
rpc: add mpl::list include to messages.hpp to make it usable standalone