Fix all gcc warnings