Solving for segfault

Prevents the following from causing a segfault

```bash
./madrid -- --version
```