fixes to mac build. re #9394

note emplace_back not supported on a mac compiler
Merge branch 'feature/9394_loader_bilby_' into develop