appinfo: Fix the build on windows

The previous commit forgot to protect some unix-only
calls by an ifdef.

Pointed out by John Emmas.
1 file changed