Conditional fix to dependency checking in installer.