Minor updates to allow clean build; passes R CMD check
Tweaked build to work around Cygwin charset issues
Updated build script