Guard protecting cocos2d-x GUI initialization when in headless(this can be better, once we have the CC2DX rendering sorted)