The syntax of bash substring selection is ${var:offset:length}, but we have used it as ${var:start:end} which led to compilation errors for very long compilation flags.