Add support for building with NaCl glibc

Add support for building with NaCl glibc