some cleanups for building without collab.
Merge pull request #1695 from fontforge/monkeyiq/2014aug/collaboptionalcleanup1

some cleanups for building without collab.
Only search for paths inside the *g* node

Otherwise, we might get unwanted paths.