impl chunked filter
fix some chunked filter bug
add mingw lib