Fixed for #68(FreeBSD issue)

For fixing #68