[COOK-3783] fix issues with older SmartOS datasets and build-essential

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