Adding safe for older versions of ninja.