Use stringstream and string instead of PATH_MAX
Merge pull request #1240 from cmouse/fix-include-dir-nonstatic

Use stringstream and string instead of PATH_MAX