Make ABORT_TODO macro more friendly and fix for non-MSVC compilers.