get the depedencies for glog and jemalloc if needed

Closes #6