add missing #ifndef to protect header files