Fix compilation error warnings