fix compilation on gcc-4.7 / openSUSE 12.3