Lightning Framework Fake Pull Request

I made this PR to myself so that Ioan/Mark can add comments inline if desired.
getenv exists as a command on Windows, but HOME is unlikely to be defined. In that case getenv returns NULL. So you can make your code a bit more robust like so:
```
fs::path rootPath = fs::path(getenv("HOME") | getenv("HOMEPATH"));
```