title: MEX compile error: unknown type name 'char16_t'
body: <p>I cannot compile any MATLAB MEX code due to the following error:</p>
  
  <pre><code>In file included from /Applications/MATLAB_R2013a.app/extern/include/mex.h:58:
  In file included from /Applications/MATLAB_R2013a.app/extern/include/matrix.h:294:
  /Applications/MATLAB_R2013a.app/extern/include/tmwtypes.h:819:9: error: unknown type name 'char16_t'
  typedef char16_t CHAR16_T;
  </code></pre>
  
  <p>The only thing that has changed on my machine as far as I can remember is that Xcode was updated to version 5.1 (5B130a).</p>
  
  <p>Any fix for the time being to compile MEX code in MATLAB?</p>
  
  <p>[Running on OS 10.9.2 with Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)]</p>