fix issue #24

closes issue #24, do_if_block dropped changes to the local variables made in the elseif/else block
added a debug option to the makefile too, in order to use the erlang debugger