add static_assert for COMPILER_ERROR_IF makros