fix missing folder and cleanup on missing folder _libexecdir and _defaultdocdir