Made to call rebar.cmd in Windows

In Windows, rebar executable is rebar.cmd, which does not exist on Linux/Unix, not rebar.
Made to use rebar.cmd if it is there.
Merge pull request #65 from redpine50/make_cygwin

Made to call rebar.cmd in Windows