Fix the filtering of source files in the builder

* definitely missed this when writing the source folder code
* credit to barakka for catching this and coding up a suggested fix