switched to getopt from boost::program_options, and reimplemented the config file parts I needed in order to make code more easily portable.