cmake checks for paje tools