try to fix compile for gcc 4.5.3