Fix aix/windows ownership issues and vardir path