Fixed internal Ace build

This needs to be tested on Linux. Working on Windows.