gcc: fix compile error for gcc 4.8