Changed extern type from "C" to "system" as the OpenGL APIs use stdcall on Windows.