Fix some compile warnings

Quick and trivial fixes to remove compile warnings.
There is only one that @cppwfs will want to review, which has to do with ConfigUtil and FilePayload (this gives me a method not found in eclipse, but compiles fine in CLI)