Fix VS2013 build with _CrtDebugBreak and missing headers.