Doc update and minor changes
    - roxygen doc update
    - win install script: PKG_LIBS should have been PKG_CPPFLAGS