Remove lib and doc folders before preparing to build documentation.

Just in case there was a major change.