Minor changes made for FreeNAS Jail compatibility.