Fix gcc almost all gcc warnings