Add ability to build without some libs
Fix segfault
Add auto downloading and building ccv and opentld
Fix two bugs with pause