Fix compilation for some backends on linux