Fixed directory import error for Windows