Found an erroneously placed #endif that cut off the closing curly brace of the Profiler namespace if PROFILER_ON was not defined.
Merge branch 'shaders'