Remove legacy header guards, and use compiler newer features.
https://bugs.freedesktop.org/show_bug.cgi?id=57426