Modified cmake files to check for cunit availability