2 diferent commits

Hi, 
I'm a little newbie on git , I don't expect that accept the 2 commits , but you may cherry pick one ? 
In Fedora we tend to put plugins even .so (s) in /usr/share,  distinct of /usr/lib for 32 bits libs  or /usr/lib64  , so could be not accepted .
The other fix, remove one .la when we got plugins in /usr/share, it remains librawstudio.la in /usr/lib(64). 

Thanks,
Best regards .