adding -mmacosx-version-min to CXXFLAGS