Parallelize gzip extension using threads

This is kind of a silly optimization in that it shaves maybe a second off builds, but it doesn't hurt.