Configure libtcmalloc_minimal based on shared libs setting
Configure libtcmalloc_minimal based on shared libs setting

- Added a switch to change the way we build libtcmalloc_minimal i.e.
  either a static library or shared library.

hbdeshmukh/incubator-quickstep,tarunbansal/incubator-quickstep,jianqiao/incubator-quickstep,zuyu/incubator-quickstep,zuyu/incubator-quickstep,tarunbansal/incubator-quickstep,UWQuickstep/quickstep,zuyu/incubator-quickstep,UWQuickstep/quickstep,cramja/incubator-quickstep,zuyu/incubator-quickstep,UWQuickstep/quickstep,tarunbansal/incubator-quickstep,tarunbansal/incubator-quickstep,cramja/incubator-quickstep,cramja/incubator-quickstep,jianqiao/incubator-quickstep,hbdeshmukh/incubator-quickstep,hbdeshmukh/incubator-quickstep,UWQuickstep/quickstep,cramja/incubator-quickstep,jianqiao/incubator-quickstep,UWQuickstep/quickstep,hbdeshmukh/incubator-quickstep,jianqiao/incubator-quickstep