Remove some unused dependencies, and externalize vlfeat library dependency