[HOpenGL] Problems compiling with profiling enabled