Hi there Geert! Sorry for breaking stuff :)
Anyways I just sent in a fix. I decided to drop that entire function because as I said, it needs a do-over and that can be done later at a slower pace. I'm not sure on how to go about testing this properly. I tried 'make ARCH=x86' for example and it built fine, so I assume this is working? Otherwise let me know. -- thanks -- Daniel