Fixed compilation for gcc-4.5