Compression of synthesis gas