everything compiling and linking on macosx