A working compiler with lots of cmake hacks.