fix compilation warnings building debian package with gcc4.6.3 under 64bit Ubuntu 12