Make makefiles compatible with CyanogenMod 10.1
Updates to support building on 4.2