correct dll generation in mingw, reduse crc module as ts_crc(...) into ts.c