Fixed compilation errors in aacore.event