Add -std=gnu99 to NaCl build.

Without this LLONG_MAX are not defined (at least with
the newlib toolchain).

Also, add the ppapi_simple and nacl_io libraries the link
line which is needed for the glibc-based build (which supports
shared libraries).