Fix compiles outside of NDK
- import Makefile from:
  https://github.com/trevd/android_system_core_cpio
- turn on -Werror as per aa6e4137ed45c2bcce56c832ce0c26382b093600
- update .gitignore with proper exclusions for Makefile products