Makefile: Use immediate assignement when calculating SYSTEM

This makes null builds run with just "make" go from 4.6 seconds
to 73ms, since it only calls config.guess once.
[NaCl] Add sanity checks to nacl-regal.sh

Update NaCl build in accordance with recent Makefile changes.
NaCl binaryes all live in the same folder and have architecutre
in thier filename.

Automatically create nmf file.

Add LOG_CC to Makefile.
Fix GCC warnings
Enable -Werror for nacl build
Enable -Werror for linux builds
Merge master.
Makefile build refinements for NaCl pepper25 - working for newlib only.
Undo remove of -fPIC flag, probably wasn't at issue.
Fixed local declaration of IOSurfaceRef.

IOSrufaceRef is declared as "typedef struct __IOSurface *" in latest OS
X SDK in IOSurface.framework/IOSurfaceAPI.h, line 17.

Regal's declaration of IOSurfaceRef as a void * results in a compile
error on OS X / Xcode when both Regal and IOSurface headers are
included.
Fixup for ccache NaCl builds - CCACHE_COMPILERCHECK needs special treatment.
Merge branch 'master' of git://github.com/sherief/regal
Extend Regal::Config to have a configFile setting for read/write JSON configuration.
Also can be specified via REGAL_CONFIG_FILE environment variable.
Initial migration of Regal::Json::Output to boost::print::json::output
Update GLEW to sf/github TOT.
Merge pull request #7 from p3/master

pull latest upstream code