Add compression to common library