Load gl_platform module before loading batch context.