Add option to compile with gzip static module