Fix visibility issue with gcc.