Under Windows, the installation directory can be found in the registry.
[tinc] / lib / getopt1.c
2000-05-03 Ivo Timmermansgetopt_long() support for platforms that don't have it.