Fix #8056: compiling wave custom_directives sample yields compile errors

svn path=/trunk/boost/wave/; revision=82862