head, tail, uutils: fix build
Fix get_mut deprecation warnings
Merge pull request #436 from ebfe/fix-build-master

Partially fix build with rust master