(OSD BRANCH) Fixed using compatibility depending of environment for BGFX (nw)