strip the newline character from build info