Missed the compiler issue in the measure_ex function.

Change-Id: I5ea71b9685b5a67b62d7391e83eab9c25fe62bab
Type: Bug Fix