respect LDFLAGS and append CXXFLAGS

Respecting `LDFLAGS` makes passing `-L` lines easier (to custom boost location). And appending extra CXXFLAGS means that existing ones will not override the necessary Darwin linker flags for building with c++11 support.