static_assert define only for < C++11
remove StaticAssert.h. let's just use C++11
fix up static_assert usage (C++11)
remove deprecated curl/types.h include