fixed #2051: TestCpp/ExtensionsTest/CocosbuilderTest crashes under x86_64 target.