Fix compile error for Window 8.