fixed debug/min switcher
recompiling dist/
more succinct library type detection
Merge pull request #58 from tangrams/debugfix

fixed debug/min switcher