Move static asserts

So they trigger before they create a compile error