Fixed internal ace build

Needed specific linker flags for linking to aio