Build fixes

calling make_config() on args passed from build file, using get_stdout
instead of print_logs, minor fixes.