Remove OS specific file and directories from the rendering process.