Fix rpm libraries