Fixes to RPM building
Handle lib installation under LIBINSTALLDIR if requested