Fix compile with -O3 & -Ofast