Can't compile projects on OSX: wchar.h not found on my iMac (Laptop works)

My version on the Mac is Unreal Engine-4.3.1 (latest to be offered for install by the launcher)

Latest versions of XCode and El Capitan installed.

I have searched every possible answer for this on the net but cannot find a reason. On my Laptop with the same software versions it just compiles fine.

Driving me nuts.

Upgraded to 4.12 and it works fine. Dont really know why I ended up with 4.3.1 to begin with.

So all good. Sorry.