Fixed Chai script inclusion when using converted C++ code