Make necessary changes to compile using NDK r9c and KitKat SDK.