Moved osx specific crap out for exclusion. Made compare files work on *most systems