Make libapf compile against the NDK. am: 6ef6218a98 am: 991babe7e3 am: 9d9e852f62

Change-Id: I07e0c627a037913367035218d4a4746b0e57f92f