Added --debug-build configure option.