Fix for john.o in debug build target.
Add a 'memdbg' build target which can be used without editing anything.