Conditionally include files based on ActiveRecord version