Add CXXFLAGS support, full dependency builds