Fix incorrect passing of debug/release flags
Merge pull request #216 from bastih/master

Fix incorrect passing of debug/release flags