change static assert to fit gcc