I've tried to work on this issue, and after a lot of sleepless nights, headaches, issues with keys and other stuff, I decided to stop bothering, bought a mac mini (fairly cheap), and installed it headless as a build machine. Works like a charm :)
I put a lot of work into the research and wasn't able to get it to work, so if someone does know the answer: greatly appreciated!