fixed treatment of an existing source version of gtsam

(the cmake scripts gtsam creates in devel space at least are all captial!)

I'm not sure if that would break on other installations. Could somebody check?