CyanogenMod display-legacy with compile errors fixed for GCC 4.7