build 18.6: gcc Ofast compile error fix