More fixes for disabling sendfile support.