clean gcc 4.1 warnings