Change libraries to Frameworks, fix min w/ size_t/unsigned int comparison