Add boost program_options and some build glue.

Little misc changes re config and build variables.