Remove compiler warnings for gcc 4.5.0