updated a bpc patch in cocos to build on mac