Remove lib, doc, system dir before moving