Fix configure --with-debug

Debug flags (-Wall -g) should be passed as a separate
arguments instead of a single argument.