Android 3.3.0 build and gitignore fixes

A few fixes for building on Android (mostly ignoring build files).