Fixed CoreExternGenerator.compareFunctions