Add a script to check that the signatures of native functions match the C++ signatures