fix build when DEBUG=1 is set
Merge pull request #42 from krnlyng/fixdebugbuild

fix build when DEBUG=1 is set