Fix file glob for FreeBSD /bin/sh.

Submitted by: alfred
Merge pull request #1 from cymike/master

Fix for cross-platform functionality