mingw
Merge pull request #515 from fundies/master

 fixes rebuild all, fixes codecs, decreases exe size in compile mode