Updated build scripts to compile proper executables and match NDK r8d compiler options