Disable some annoying gcc warnings.

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>