You are missing some headers to include. You can either use:
#include <boost/spirit/include/phoenix_operator.hpp>
that includes the operators needed for this to work, or:
#include <boost/spirit/include/phoenix.hpp>
that includes everything about Boost.Phoenix. On LWS.