cross os shebang and line ending fix