r8d default r9d work, cmake bugfixes