Minor bug fix for gcc 4.1 or lower version compilers