Reconfigure base class on each config { } call, this required because
rails initializer are called AFTER the gem