System libraries, second try

First of all, I signed that thing. And here are patches with required indents and spaces, as you like.