Right, it should work to put the `static assert` inside the function. I was originally thinking it wouldn't be possible to compile the module at all on the non-supporting platforms.