Fixed some compilation errors for windows
Small fix sample helloworld code in README.