Fixed directory import error for Windows v2