Add the missing STAThreadAttribute in compressor

Fix #54