[build] include string in filter & Section

Fixes the build on OSX. Fixes issue #335