ifdef'd out some things that probably don't work in mingw
ifdef'd out some things that probably don't work in mingw

yuriy-chumak/OL,yuriy-chumak/OL,yuriy-chumak/OL,yuriy-chumak/OL,yuriy-chumak/OL,yuriy-chumak/OL