fix mac build and comment on stack size check