Isolate printing of build info in a method