fix the makelib stuff to also generate actual libraries, and link safecats with whatever libs to get rid of duplicate symbols