Tiny fixes.

Fixed line-endings problems in shell script.
Fixed incompatible powershell script
Fixed a typo in comments in the source.