Removed spurious debug message. Enabled compiling with optimization by default.