Override install_lib to actually install files

The destination directory isn't always just `lib`, and thus can't be
predicted in advance.  This fixes #2883 (I hope).

@tardyp if this looks decent, give it a merge and let's see how http://buildbot.buildbot.net/builders/builds handles it.  In my testing by hand, this was successful.