Partial OS X windowsettings impl
Fix non-magellan build