[build] include string in filter & Section

Fixes the build on OSX. Fixes issue #335
Merge pull request #336 from gicmo/build_fix_1108

[build] include string in filter & Section