The isMainModule function was failing on Windows due to direct
string comparison of file paths with different separators. This
commit fixes the issue by normalizing both paths using
path.normalize() before comparison.
Fixes silent CLI command failures on Windows where commands
like 'claude-flow memory stats' would run without output.
Tested on Windows 11 with Node.js v22.17.0.