use filter instead of findstring in Makefile

fixes issue #672

The git hash doesn't really matter here, patch still applies