Fix compiling error for calibration app