Changed the behavior of convert_libs_to_compargs to use the full path for all libraries except Frameworks on OS X.
Added a threads dependency for Madness.