"Stitch" test program now compiles and runs properly.

Other changes:
- Enabled debug build in makefile