Fix convertion to bool from vector boost::optional in c++0x mode.