Include sys/stat.h for mkdir() on FreeBSD as well
Merge pull request #78 from AMDmi3/freebsd

Include sys/stat.h for mkdir() on FreeBSD as well