fix regression in SD card build