Fix compile error when building with debug enabled.
Add instructions for enabling debug builds.