updating makefiles and syntactic nits to accomodate the new c++ compiler that ships with xcode