Tried to modify CMAKE for root, still doesn't work but a lot closer now