stop customizing sanity_check_paths, add missing dependencies and required patch file