[Core] Hotfix broken ACE configure script. [c2109]

Note: This will reintroduce problems for MacOS. So a proper patch is still pending.