Fix error run in FreeBSD
Merge pull request #1 from pgbi/patch-1

Fix error run in FreeBSD