make sure enforce_available_locales is available [for mongoid]