fix some compile error for isqrti