Only create symlinks on unix.
Merge branch 'master' into dbcompact-winfix