CLion can't find Arduino.h Header and other system headers

Solved by using MinGW64 compiler.