Correct profile generate/use build flag names

[#82213900]