Only require files if dependency present