popupmenu, semaphore, filedialog and cpuinfo files for nacl plus some audio code build fixes.
Fix link errors.

Link against nosys. Added some missing functions. max() not defined when
linking openal.
Disabled googletest unit-tests under NaCl, at least temporarily.
Torque2D now builds and links but fails to create a NaCl manifest.