Add missing cast for gcc compilation