Revert "Prevent snappy and tcmalloc detection from leveldb configuration phase"

This reverts commit 04d50935abba9e43ff8f9f795c3a8f3ce032fbb9.
Fixed previously unclean commit.