Allow interrupts on Windows (resets Scilab session).
Fix usages of old API.