Workaround for static assert for older compilers without it