linux changes to make compares work