compilation fix for 32-bit linux with old gcc