update compile time assert

static_assert in C++11