clang doesnt have the to_wstring method
update makefile for build with clang on XCode 6.1.1
use SDL threads instead of C++11 threads, which are not supported on clang
more makefile fixes for OSX with xcode 6.1.1