Use process.platform check to append .exe on Windows when building and running the compiled test binary. Co-Authored-By: Claude <noreply@anthropic.com>