Fix -Wreorder
MinGW support