Add common `DMCFLAGS` macro.
Add ability to include debug information using `DEBUG` macro.
Change `build_optlink.bat` to enable passing macros to nmake.

Use `build_optlink.bat DEBUG=1` command line to make a debug build.
Add Visual C++ 2008 project.