Build improvement: support debug build, detect x64/x86
Merge pull request #6 from We-Amp/oschaaf-arch-and-buildttype

Build improvement: support debug build, detect x64/x86