Content compare tool is just a package it should work in any OS like other CQ5 package. Can you please check what issues or errors you are getting when installing or running this package?
I suggest if there are any errors please fix this and make it working. Otherwise you have to write some program to compare contents, you can use DiffInfo apis
To create a diff of a particular component the com.day.cq.commons.DiffInfo
may be interesting for you. See http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/commons/DiffInfo.html for more information.