Add 0008-Fix-typedef-compileAssert-locally-defined-but-not-us.patch

I'm not sure if this is the best way to fix this, have a look at [1] for
other options, but neither Boost nor C++11 seemed appealing.

[1] http://stackoverflow.com/questions/6765770/compile-time-assertion