[COOK-3643] Fix freebsd

https://tickets.opscode.com/browse/COOK-3643