Fixes to libhdfs and the windows build
Add example batch file showing how to set env vars for libhdfs to work