Compilation on debian 7

Hi
I had some issues with compilation on my Debian 7 with C++11, I tried to fix them with those changes.
Regards,
Julien