Compilation error for a project using SD card