Added dependency to enforce dynamic reconf header generation before compilation
Fixed unused-but-set-variable gcc and cppcheck-noCopyConstructor warnings.