fix bug with gcc 4.1.2 version

fix bug with gcc 4.1.2 version