Disable makeIndexCommand, as it doesn't work on non-windows

Need to refactor execution code and set environment variables to support this.
Use isPrefixOf to prevent line ending problems