cmor only on linux

@aashish24 @dlonie please approve and merge