fix compile error with gcc 4.4.7 (n/w)