bug fixed by nemo in Nix: in one place cpp was checking open for <= 0 as an error. fix: check < 0 only