Add 'WITH_IRR_CACHE' flags for make easy work in separate branch.
Also, this flags  prevent errors in MSVC compilers.