Fix loading options error in windows