Add needed changes to get a working sandbox on FreeBSD. Patch by Alex Unleashed <unledev@gmail.com>.
Changed paths: