fixes to mac build. re #9394

note emplace_back not supported on a mac compiler