- made the build system more robust.
- debug no longer opens a new lxterminal on my system.
Merge pull request #1 from theotherjimmy/master

- made the build system more robust.