Update to latest Arduino cmake files (lots of bugfixes)
Remove linker hack