fixes to build by Open Watcom toolchain
rest of changes to be buildable by Open Watcom
fixes for test programs to be buildable by Open Watcom

correct buffers to be realy local for each test as expected by logic
Merge pull request #67 from jmalak/master

fixes to build by Open Watcom toolchain