Make makefiels compatible with CyanogenMod