Undo remove of -fPIC flag, probably wasn't at issue.
Fixup for ccache NaCl builds - CCACHE_COMPILERCHECK needs special treatment.