Made it compile with cmake again.