Merge "Use Profiling flag at build time" into main