Fixes for Linux compilation and packaging

Here are some changes I had to make to be able to build Miam Player on Mageia Cauldron with Qt 5.3.1 and GCC 4.9.2 (pre-release).

I'm not a Qt developer and I mostly proceed by trial and error, so please make sure that my changes don't break anything.