Prefer make_shared over new.

On a few samples it reduced brk syscalls by 10%. At least on linux. On osx the
situation is complicated.