finish package script usage and winpthreads and libgcc fixage.