Used a static_cast to explicitly convert an optional to bool in reactor_be_primary.cc.
Fixed linker error with boost::optional operator<< symbol not being found.
Merge branch 'sam_osx' into next