fix for earlier gcc

fix for gcc4.1 which found in centos5