Fix gcc build warning