CMake: set RPATH also for main lib

6 jobs for pr/64 in 13 minutes and 56 seconds (queued for 1 second)