Update prefs.mm

Made it independent from Preferences headers.