Add missing header to master include
Restrict visibility flags to gcc.