Some corrections

A few corrections to avoid SSH key not being found when already uploaded. And also, to propagate cxx and c flags to sub-projects