Corrected names violating the reserved double-underscore.
premake: tidy; added -Wundef.