I just built CM14 from source , (as I wanted to base my new ROM on it) with all the correct device specific files , vendor , kernel .
It took a hefty 7 hours to compile (I had disabled Ninja wrapper as it was causing problems , and jack was jacking up , so I had to manually kill server then...