Some misc changes.

Ignore build directory.
Fix compile in CharacterAlignment.cpp (might just be a VS2012 thing).
Use August 2007 DirectX SDK.