Hush non-standard error message.
Fix build break that obtains with gcc-4.7, 4.8
Fix compiler warning
Remove some crazy library dependencies