Cleaner gl_init_platform