[build][fr] build_data: code cleaning