fix error when compile with gcc 4.8