Merge pull request #51 from tribal-tec/master

Make compiler.h C friendly
Fix release build with broken gcc 4.8
Fix debug build