Add missing MOZ_SDCARD and ensure build successfully when MOZ_SDCARD is undefined.
Format code style.