external TCLAP config and related fixes