Correct header guards and export macros.