Fixed Boost compile definitions.

Added another required Boost compile definition, and updated the
standalone executable examples as the Boost compile definitions are now
automatically set in standalone executables.