Added -lpthread to aapt linker to fix build error