Solution:
1. Download new MINGW compiler at http://www.mingw.org/ and install it in C:\MinGW\
2. in Dev c++. right click on menu Tools>Compiler options.
3. in tab "Directory", right click on "Libraries" and change "C:\Program Files\Dev-Cpp\Lib" to "C:\MinGW\lib"
4. Compile!