Include windows.h and fix include order. (#394258, Kazuki Iwamoto)