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