Fix OSX build issue.
Fix initial maxslot for down-recursive traces.
Fix OSX build issue.