options: expand ~ for the include option

Fixes #1406