Fixes to the dlib project.