Compressors for machines