only require_relative if it is defined