Fix the homedirectory change for AD and NT4