Fix compilation without boost::proto

Some tragically large forward declarations necessary here.