Make libapf compile against the NDK. am: 6ef6218a98

Change-Id: I847d80b9195ce5e43b4e2f880b3b01eaacdcf5fe