Fix build settings output for multiple targets.