Detect CPU automatically when using MinGW