Fixed for #68(FreeBSD issue)

Fixed for #68(FreeBSD issue)