Only modify ActiveSupport environment if ActiveSupport::Inflector is loaded

In some cases (my application exhibits this), ActiveSupport will exist but ActiveSupport::Inflector won't; however, the library only checks to see if ActiveSupport exists.  This patch fixes the issue.