There are million ways to hide exploits even in "safe" languages. If you have a bad actor that can spend couple years prepping how to hide an exploit, then it doesn't really matter which programming language is used.
Build system is complex because of legacy and need to support millions of different platforms and distros.