Fixed a few errors on building

Rd error fixed \usage problem